Release 10.1A: OpenEdge Development:
AppBuilder
Add/remove SmartLinks (adeuib/_ablink.p)
Use the
adeuib/_ablink.pprocedure to add/remove a SmartLink joining two SmartObjects:
Input parameters
The
adeuib/_accsect.pprocedure takes the following input parameters:pc_operationA quoted character string that specifies the operation to be performed:
pc_sourcecontextThe context ID for the object at the originating (source) end of the link.
If the operation is “
REMOVE”, you can use the question mark (?) character to refer toTHIS-PROCEDURE.If the operation is “
REMOVE” and the target context argument represents a single destination object, you can use:pc_linknameA quoted character string identifying the type of link to be added (
ADD) or removed (REMOVE). For example “FILTER”pc_targetcontextThe context ID for the object at the destination (target) end of the link.
If the operation is “
REMOVE”, use the question mark (?) to refer toTHIS-PROCEDURE.If the operation is “
REMOVE” and the source context argument is a single object, use:
- The context ID for a single destination object.
- A comma-separated list of context IDs, representing multiple destination objects.
Note: Either the source context or the target context must represent a single object. You cannot have multiple objects at both the source and target ends. If the operation is- The star (*) character, representing all destination objects.
“ADD”, both source and target must be single objects.Example
The following code purges all
Navigationlinks originating at the caller:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |